package com.un.ebs.contract.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/7/5 18:14
 */
@Getter
public enum ContractTypeEnum implements IEnum {

    Purchase(0, "采购合同"),

    Sale(1, "销售合同"),

    Repair(2, "维修合同"),

    Project(3, "科研项目"),

    Service(4, "保修合同"),

    Oem(5,"代工合同");

    @EnumValue
    private final int code;

    private final String desc;

    ContractTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
